<template>
  <!-----------------------------------------------表单详查----------------------------------------->
  <div>
    <div class="thirdPage">
      <div class="thirdPage-header">
        <button @click="goBack" class="gobackbtn">
          <i class="iconfont icon-arrow-left"></i>
        </button>
        <el-input
          clearable
          placeholder="搜索栏"
          prefix-icon="el-icon-search"
          v-model="input3">
        </el-input>
        <span class="Total-people">合计人</span>
        <el-dropdown trigger="click">
  <span class="el-dropdown-link">
    <i class="iconfont icon-screen"></i>
    <i class="el-icon-arrow-down el-icon--right"></i>
  </span>
          <el-dropdown-menu slot="dropdown" class="dropdown-menu">
            <el-checkbox>狮子头</el-checkbox>
            <el-checkbox>螺蛳粉</el-checkbox>
            <el-checkbox>双皮奶</el-checkbox>
            <el-checkbox>蚵仔煎</el-checkbox>
          </el-dropdown-menu>
        </el-dropdown>
      </div>
      <div class="thirdPage-content">
        <el-table
          :data="tableData"
          border
          style="width: 100%">
          <el-table-column
            prop="date"
            label="日期"
            width="280">
          </el-table-column>
          <el-table-column
            prop="name"
            label="姓名"
            width="240">
          </el-table-column>
          <el-table-column
            prop="name"
            label="姓名"
            width="260">
          </el-table-column>
          <el-table-column
            prop="name"
            label="姓名"
            width="280">
          </el-table-column>
          <el-table-column
            prop="name"
            label="姓名"
            width="260">
          </el-table-column>
          <el-table-column
            prop="address"
            label="地址">
          </el-table-column>
        </el-table>
      </div>
    </div>
  </div>
</template>

<script>
  import store from '@/store'
    export default {
        name: 'formdetailcheck',
      data () {
        return {
          input3: '',
          tableData: [{
            date: '2016-05-02',
            name: '王小虎',
            address: '上海市普陀区金沙江路 1518 弄'
          }, {
            date: '2016-05-04',
            name: '王小虎',
            address: '上海市普陀区金沙江路 1517 弄'
          }, {
            date: '2016-05-01',
            name: '王小虎',
            address: '上海市普陀区金沙江路 1519 弄'
          }, {
            date: '2016-05-03',
            name: '王小虎',
            address: '上海市普陀区金沙江路 1516 弄'
          }]
        }
      },
      methods: {
        goBack () {
          store.commit('updateToggleValue', 'formtypelist')
        }
      }
    }
</script>

<style lang="stylus" rel="stylesheet/stylus" scoped>
  .thirdPage
    width 98%
    height 50px
    margin 20px 0 0 1%
  .thirdPage-header{
    width 100%
    height 50px
  }
  .el-dropdown{
    float right
    color #B4BCCC
    margin-right 20px
    background-color white
    border 1px solid #D8DCE5
    border-radius 4px
    padding 5px
  }
  .el-checkbox{
    margin-left 0
  }
  .dropdown-menu{
    width 130px!important
  }
  .gobackbtn{
    width 40px
    height 40px
    border 1px solid  #D8DCE5
    background-color #ffffff
    color #878D99
  }
  .el-input{
    width 200px
    margin-left 20px
  }
  .thirdPage-content{
    width 100%
    margin-top 20px
    background-color #016DFB
  }
</style>
